//
//  ViewController.swift
//  Transition2
//
//  Created by Open on 2/3/15.
//  Copyright (c) 2015 open-groupe. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        var swipeGuestureRecongnizer: UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action: "showSecondViewController")
        swipeGuestureRecongnizer.direction = UISwipeGestureRecognizerDirection.Down
        self.view.addGestureRecognizer(swipeGuestureRecongnizer)
        
        NSLog("hello ")
    
    }

   
 
    
    func showSecondViewController ()
    {
        self.performSegueWithIdentifier("idFirstSegue", sender: self)
    }
}

